<?php //Démarrage de la session
	session_start();
	
	if(empty($_SESSION['id_client_connecte']))
	{//Si l'utilisateur n'est pas encore connecté on l'envoie vers la page de connexion
		header('location: ./connexion.php');
	}
	
	if (empty($_POST['ancien_mdp']) OR empty($_POST['nouveau_mdp_1']) OR empty($_POST['nouveau_mdp_2']))
	{
		header('location: ./');
	}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
	<head>
		<title>Changement de Mot de Passe | Vanadium</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link rel="icon" href="./ressources/favicon.ico" type="image/x-icon" />
		<link rel="stylesheet" media="screen" type="text/css" title="Design" href="design.css" />
		<link rel="stylesheet" media="screen" type="text/css" title="Design" href="../ressources/css/boite_info.css" />
		<link rel="stylesheet" media="screen" type="text/css" title="Design" href="../ressources/css/boite_attention.css" />
		<link rel="stylesheet" media="screen" type="text/css" title="Design" href="../ressources/css/thickbox.css" />
		<script type="text/javascript" src="../ressources/javascript/jquery-1.3.2.min.js"></script>
		<script type='text/javascript' src='../ressources/javascript/thickbox-compressed.js'></script>
	</head>
	<body>
		<?php
		include ("./modules/header.php");
		include ("./modules/body_changement_mdp.php");
		include ("./modules/footer.php");
		?>
	</body>
</html>
